#include <boost/unordered_map.hpp>
#include <iostream>
#include <string>

int main()
{
	typedef boost::unordered_map<std::string,int> unordered_map;
	unordered_map map;
	
	map.insert(unordered_map::value_type("Liang",1) );
	map.insert(unordered_map::value_type("Gauss",2) );
	map.insert(unordered_map::value_type("Fermat",3) );

	for (unordered_map::iterator it = map.begin(); it!=map.end(); ++it)
		std::cout << it->first << " -> " << it->second << std::endl;
	std::cout << map.size() << std::endl;
	std::cout << map.max_size() << std::endl;

	std::cout << (map.find("Gauss") != map.end() ) << std::endl;
	std::cout << map.count("Bernoulli") << std::endl;
}